\n", secnr, outname,
sectname );
}
^"<@@ssect>".*$ {
skipnewline=1;
getstr( ssectname, 9 ) ;
current=SUBSECT;
ssecnr++;
sprintf( Headbuf, "%s
\n", sectname );
}
^"<@@endchapt>".*$ ;
^"<@@endsect>".*$ {
if (filenum>=3) {
sprintf(Tmp1,"%s-%d.html",firstname, (filenum - 2));
} else {
sprintf(Tmp1,"%s.html",firstname);
}
sprintf(Tmp2,"%s-%d.html",firstname, (filenum ));
fprintf(out, " Next Chapter, Previous Chapter
",
Tmp2, Tmp1);
sprintf(Tmp2,"%s.html",firstname);
fprintf(out, "Table of contents of this chapter,\n",Tmp2, filenum-1 );
fprintf(out, " General table of contents
\n",Tmp2);
fprintf(out, " Top of the document,\n Beginning of this Chapter
",
Tmp2);
fprintf(stdout,"
\n");
fclose(out); out = NULL;
}
^"<@@endssect>".*$ {
}